<?php
namespace app\serverfund\service\fund;

use \app\manage\service\ApiBase;
/**
 * 用户的资金解冻日志
 * @author adv30 <adv30@126.com> 2017年6月22日13:54:10
 */
class FundUnfreezeLog extends ApiBase
{
    protected $fundUnfreezeLogValidate = '\app\serverfund\validate\FundUnfreezeLog';
    protected $fundUnfreezeLogLogic = '\app\serverfund\logic\FundUnfreezeLog';
    // 获取所资金解冻日志(分页)
    public function list(): array
    {
        $data = $this->haveIssetReceiveData(['page'=>'1', 'list_rows'=>'', 'keywords'=>'', 'startTime'=>'', 'endTime'=>'']);
        return $this->stepRun($data, 'list', 'list');
    }
    // 获取某些user_ids的的资金解冻日志(分页)
    public function listByUserIds(): array
    {
        $data = $this->haveIssetReceiveData(['page'=>'1', 'list_rows'=>'', 'user_ids'=>' ']);
        return $this->stepRun($data, 'listByUserIds', 'listByUserIds');
    }
    // 获取某个冻结日志的资金解冻日志
    public function listByFreezeId(): array
    {
        $data = $this->haveIssetReceiveData(['freeze_log_id'=>'0']);
        return $this->stepRun($data, 'listByFreezeId', 'listByFreezeId');
    }
}